﻿#pragma once

#include "SnakeBody.h"

// 蛇
class Snake {
    private: SnakeBody* mCauda; // 蛇尾
    private: UINT mDirection;   // 移动方向
    private: SnakeBody* mHead;  // 蛇头

    public: Snake(CDC*);
    public: ~Snake();
    public: void Eat(SnakeBody*);
    public: SnakeBody* GetHead();
    public: BOOL Move();
    public: BOOL PointIsOnMe(CPoint*);
    public: void Turn(UINT);
};
